package com.open.capacity;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author: y_022
 * @date: 10:44-2021/6/24
 * @description:
 */
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.open.capacity.dao")
@EnableTransactionManagement
@EnableCaching//启动spring自带的cache机制
public class PersonCenterApp {
    public static void main(String[] args) {
    SpringApplication.run(PersonCenterApp.class,args);
    }
}
